package com.gf.gf_data.service;

import com.gf.gf_data.entity.Account;

import java.util.Set;

public interface AccountService {

    boolean regAccount(Account account);

    Account findAccountByPhone(String phone, String areaCode);

    Set<String> findRolesByToken(String token);

    Set<String> findPermissionsByToken(String token);
}
